home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
Jogos de Azar
/
3card_poker.swf
/
scripts
/
DefineSprite_166
/
frame_10
/
DoAction.as
Wrap
Text File
|
2006-01-17
|
737b
|
53 lines
if(x2 < x1)
{
pos1 = x2;
suit1 = z2;
pos2 = x1;
suit2 = z1;
}
else
{
pos1 = x1;
suit1 = z1;
pos2 = x2;
suit2 = z2;
}
if(pos1 >= x3)
{
tpos1 = x3;
tsuit1 = z3;
tpos2 = pos1;
tsuit2 = suit1;
tpos3 = pos2;
tsuit3 = suit2;
pos3 = tpos3;
pos2 = tpos2;
pos1 = tpos1;
suit3 = tsuit3;
suit2 = tsuit2;
suit1 = tsuit1;
done3 = "5";
}
if(done3 != "5")
{
if(pos2 >= x3)
{
tpos2 = x3;
tsuit2 = z3;
tpos3 = pos2;
tsuit3 = suit2;
pos3 = tpos3;
pos2 = tpos2;
suit3 = tsuit3;
suit2 = tsuit2;
}
else
{
pos3 = x3;
suit3 = z3;
}
}
d1 = pos1;
d2 = pos2;
d3 = pos3;